#include <stdio.h>

main()
{
	int i=2,n=10;
	float fac=1;
	if(n==0||n==1)
	{
		printf("factorial is 1.\n");
	}
	while(i<=n)
	{
		fac=fac*i;
		i++;
	}
	printf("factorial of %d is:%2.f\n",n,fac);
}
